package com.szpx.service.impl;


import com.szpx.entity.NewsShow;
import com.szpx.mapper.NewsShowMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class NewsShowServicImpl implements NewsShowServicImpl1 {
    @Autowired()
    private NewsShowMapper newsShowMapper;

    @Override
    public List<NewsShow> selectAllNewsShow(){
        return newsShowMapper.selectAll();
    }
}
